package org.langcom.logic;


public class LogicValue extends AbstractLogic {

	private static final long serialVersionUID = 8549650810799932000L;
	public boolean value;

	public LogicValue(String description, String detailedDescription) {
		super(description, detailedDescription);
	}
	
	public LogicValue(String description, String detailedDescription, boolean value) {
		super(description, detailedDescription);
		this.value = value;
	}

	public boolean  tryOn() throws Exception {
		return value;
	}
	
	public boolean getValue() {
		return value;
	}
	
	public void setValue(boolean value) {
		this.value = value;
	}

}
